﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ucViewItemImage.ascx.cs" Inherits="Client_UserControl_ucViewItemImage" %>
<script type="text/javascript">
    var hidepanelonmouseover = 'none';
	$(document).ready(function(){
		$('#photos').galleryView({
			panel_width: 570,
			panel_height: 400,
			frame_width: 80,
			frame_height: 80,
			background_color: '#eeeeee',            
            pause_on_hover: true
		});
	});
</script>
<script language="javascript" type="text/javascript">
    function UpdateParentsLogin() {
        tb_remove();
        window.parent.location ="Default.aspx";
    }
</script>

<div id="photos" class="galleryview" style="background-color:Yellow" >    
    <asp:ListView runat="server" ID="lstItemImages" 
        ItemPlaceholderID="ItemPlaceholder" >
        <LayoutTemplate>                           
            <div runat="server" id="ItemPlaceholder"></div>        
        </LayoutTemplate>                    
        <ItemTemplate>        
            <div class="panel">                
                <asp:Image ID="Image1" ImageUrl='<%#"~/Admin/images/items/" + Eval("ImageURL")%>' AlternateText="" DescriptionUrl="" runat="server"  />
            </div>
        </ItemTemplate>            
    </asp:ListView> 
    <asp:ListView runat="server" ID="ListView1" 
        ItemPlaceholderID="ItemPlaceholder" 
        >
        <LayoutTemplate>       
            <ul class="filmstrip">                  
                <div runat="server" id="ItemPlaceholder"></div>        
            </ul>
        </LayoutTemplate>                    
        <ItemTemplate>
            <li>
                <asp:Image ID="Image1" ImageUrl='<%#"~/Admin/images/items/" + Eval("ImageURL")%>' Height="80px" Width="80px" AlternateText="" DescriptionUrl="" runat="server"  />                           
            </li>        
        </ItemTemplate>
    </asp:ListView>
    
</div>
<div style="text-align: right;">
    <%--<asp:ImageButton ID="btnBack" runat="server" Text="Back" 
        CausesValidation="true" ImageUrl="~/images/bt_back.png" 
        onclick="btnBack_Click" />--%>
</div>


